package com.homework;

import java.io.File;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/28 17:28
 * @description
 */
public class T1 {
    public static void main(String[] args) {
        File dir = new File("D:\\file\\test");

        File[] files = dir.listFiles();
        for (File file : files) {
            if (file.isFile()){
                long size = file.length();
                if (size<200*1024){
                    System.out.println(file);
                }
            }
        }
    }
}
